<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>显示分类之块级元素</title>
    <style>
        div,
        h1,
        p,
        ol {
            /* 可以设置宽高，且独占一行 */
            width: 200px;
            height: 200px;
            background-color: pink;
        }
    </style>
</head>

<body>
    <div>比较霸道,自己独占一行：div</div>
    <h1>比较霸道,自己独占一行：h1
    </h1>
    <p>比较霸道,自己独占一行:p</p>

    <ol>
        <li>比较霸道,自己独占一行:ol</li>
    </ol>

</body>

</html>